package com.application.dao;

import com.application.domain.Community;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface communityDao extends BaseMapper<Community> {

//    int UpdateCommunity(community community);

    int applyForCommunity(String name,String username,String tel);

    List<Community> getBySchool(String school);
}
